<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: cutlass::TypeTraits&lt; int &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUTLASS
   </div>
   <div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecutlass.html">cutlass</a></li><li class="navelem"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html">TypeTraits&lt; int &gt;</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="structcutlass_1_1TypeTraits_3_01int_01_4-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cutlass::TypeTraits&lt; int &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="type__traits_8h_source.html">type_traits.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:adf3d967f203fd5010c88d02a90ff80f4"><td class="memItemLeft" align="right" valign="top">typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#adf3d967f203fd5010c88d02a90ff80f4">host_type</a></td></tr>
<tr class="separator:adf3d967f203fd5010c88d02a90ff80f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03dd152e9eff97c5b378fbdd7fc6abb5"><td class="memItemLeft" align="right" valign="top">typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a03dd152e9eff97c5b378fbdd7fc6abb5">device_type</a></td></tr>
<tr class="separator:a03dd152e9eff97c5b378fbdd7fc6abb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cdc27bfac5d2e9cc6173af77e492466"><td class="memItemLeft" align="right" valign="top">typedef int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a5cdc27bfac5d2e9cc6173af77e492466">integer_type</a></td></tr>
<tr class="separator:a5cdc27bfac5d2e9cc6173af77e492466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa905e1bad1fb7364a697000def9640d9"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#aa905e1bad1fb7364a697000def9640d9">unsigned_type</a></td></tr>
<tr class="separator:aa905e1bad1fb7364a697000def9640d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a4fec4afa5e9b0aa26b7026e4345d1549"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a4fec4afa5e9b0aa26b7026e4345d1549">remove_negative_zero</a> (int32_t x)</td></tr>
<tr class="separator:a4fec4afa5e9b0aa26b7026e4345d1549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2f720b4fe5be6f94e140f61e3a90bb6"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#ab2f720b4fe5be6f94e140f61e3a90bb6">to_print</a> (int x)</td></tr>
<tr class="separator:ab2f720b4fe5be6f94e140f61e3a90bb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52c7501e863bca0d8ef933d9262663f1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a03dd152e9eff97c5b378fbdd7fc6abb5">device_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a52c7501e863bca0d8ef933d9262663f1">to_device</a> (<a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#adf3d967f203fd5010c88d02a90ff80f4">host_type</a> x)</td></tr>
<tr class="separator:a52c7501e863bca0d8ef933d9262663f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:abe5b201de5b1ef7a4e23f5ab6ed06f4a"><td class="memItemLeft" align="right" valign="top">static cudaDataType_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#abe5b201de5b1ef7a4e23f5ab6ed06f4a">cublas_type</a> = CUDA_R_32I</td></tr>
<tr class="separator:abe5b201de5b1ef7a4e23f5ab6ed06f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a03dd152e9eff97c5b378fbdd7fc6abb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::<a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a03dd152e9eff97c5b378fbdd7fc6abb5">device_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adf3d967f203fd5010c88d02a90ff80f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::<a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#adf3d967f203fd5010c88d02a90ff80f4">host_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5cdc27bfac5d2e9cc6173af77e492466"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int32_t <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::<a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a5cdc27bfac5d2e9cc6173af77e492466">integer_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa905e1bad1fb7364a697000def9640d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef uint32_t <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::<a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#aa905e1bad1fb7364a697000def9640d9">unsigned_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4fec4afa5e9b0aa26b7026e4345d1549"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int32_t <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::remove_negative_zero </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a52c7501e863bca0d8ef933d9262663f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#a03dd152e9eff97c5b378fbdd7fc6abb5">device_type</a> <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::to_device </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1TypeTraits_3_01int_01_4.html#adf3d967f203fd5010c88d02a90ff80f4">host_type</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab2f720b4fe5be6f94e140f61e3a90bb6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::to_print </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="abe5b201de5b1ef7a4e23f5ab6ed06f4a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cudaDataType_t const <a class="el" href="structcutlass_1_1TypeTraits.html">cutlass::TypeTraits</a>&lt; int &gt;::cublas_type = CUDA_R_32I</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="type__traits_8h_source.html">type_traits.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
